package com.dragon.modules.yuegou.excel.merchant;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\merchant\\merchantSalesWorkbook.xlsx")
public class MerchantSalesWorkbook {
	@ExcelSheet
	@JsonProperty("销售数据表")
	private List<MerchantSalesRow> salesList;

	public static class MerchantSalesRow {
		@JsonProperty("业态名称")
		private String typeName;

		@JsonProperty("商户名称")
		private String merchantName;

		@JsonProperty("铺位号")
		private String merchantCode;
		
		@JsonProperty("销售总额（元）")
		private BigDecimal sales;
		
		@JsonProperty("成交量")
		private Integer volume;

		@JsonProperty("客单价")
		private BigDecimal singlePrice;

		@JsonProperty("面积")
		private BigDecimal merchantAcreage;

		@JsonProperty("坪效")
		private BigDecimal effect;

		@JsonProperty("租金及管理费")
		private BigDecimal rental;

		@JsonProperty("租售比")
		private BigDecimal rentSales;

		@JsonProperty("日期")
		private String staticalTime;

		public String getMerchantName() {
			return merchantName;
		}

		public void setMerchantName(String merchantName) {
			this.merchantName = merchantName;
		}

		public String getMerchantCode() {
			return merchantCode;
		}

		public void setMerchantCode(String merchantCode) {
			this.merchantCode = merchantCode;
		}

		public BigDecimal getSales() {
			return sales;
		}

		public void setSales(BigDecimal sales) {
			this.sales = sales;
		}

		public Integer getVolume() {
			return volume;
		}

		public void setVolume(Integer volume) {
			this.volume = volume;
		}

		public String getTypeName() {
			return typeName;
		}

		public void setTypeName(String typeName) {
			this.typeName = typeName;
		}

		public BigDecimal getSinglePrice() {
			return singlePrice;
		}

		public void setSinglePrice(BigDecimal singlePrice) {
			this.singlePrice = singlePrice;
		}

		public BigDecimal getMerchantAcreage() {
			return merchantAcreage;
		}

		public void setMerchantAcreage(BigDecimal merchantAcreage) {
			this.merchantAcreage = merchantAcreage;
		}

		public BigDecimal getEffect() {
			return effect;
		}

		public void setEffect(BigDecimal effect) {
			this.effect = effect;
		}

		public BigDecimal getRental() {
			return rental;
		}

		public void setRental(BigDecimal rental) {
			this.rental = rental;
		}

		public BigDecimal getRentSales() {
			return rentSales;
		}

		public void setRentSales(BigDecimal rentSales) {
			this.rentSales = rentSales;
		}

		public String getStaticalTime() {
			return staticalTime;
		}

		public void setStaticalTime(String staticalTime) {
			this.staticalTime = staticalTime;
		}
	}

	public List<MerchantSalesRow> getSalesList() {
		return salesList;
	}

	public void setSalesList(List<MerchantSalesRow> salesList) {
		this.salesList = salesList;
	}
}
